package com.honghu.cloud.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * 系统区域类，默认导入全国区域省、市、县（区）三级数据
 * @author Administrator
 *
 */
public class AreaDto extends BaseDto {
	
	private static final long serialVersionUID = 158256153492593344L;
	
	private String areaName;// 区域名称
	private Long parent_id;   // 上级id
	private List<AreaDto> childs = new ArrayList<AreaDto>();// 下级区域
	private AreaDto parent;// 上级区域
	private int sequence;// 序号
	private int level;// 层级
	private boolean common;// 常用地区，设置常用地区后该地区出现在在店铺搜索页常用地区位置
	private String first_word;//省市区的第一个中文的收个拼音,比如北京:B,南京:N,深圳:S

	public String getFirst_word() {
		return this.first_word;
	}

	public void setFirst_word(String first_word) {
		this.first_word = first_word;
	}

	public AreaDto(Long id, Date addTime) {
		super(id, addTime);
	}

	public AreaDto() {
	}

	public boolean getCommon() {
		return this.common;
	}
	
	public void setCommon(boolean common) {
		this.common = common;
	}

	public List<AreaDto> getChilds() {
		return this.childs;
	}

	public void setChilds(List<AreaDto> childs) {
		this.childs = childs;
	}

	public AreaDto getParent() {
		return this.parent;
	}

	public void setParent(AreaDto parent) {
		this.parent = parent;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public int getLevel() {
		return this.level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getSequence() {
		return this.sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public Long getParent_id() {
		return parent_id;
	}

	public void setParent_id(Long parent_id) {
		this.parent_id = parent_id;
	}
	
}
